/* 
 * File:   DeleteCommand.h
 * Author: Bram
 *
 * Created on January 22, 2013, 5:50 AM
 */

#ifndef DELETECOMMAND_H
#define	DELETECOMMAND_H

#include "Command.h"

class DeleteCommand : public Command
{
public:
    DeleteCommand();
    DeleteCommand(const char *);
    DeleteCommand(const DeleteCommand& orig);
    virtual ~DeleteCommand();
    Command* createNew();
    bool isValid();
    
    void ExcecuteServerReceiveCommand(TcpSocket*, queue<Command *>& commandQueue);
    void ExcecuteServerSendCommand(TcpSocket*, queue<Command *>& commandQueue);
    
    void ExcecuteClientReceiveCommand(TcpSocket*, queue<Command *>& commandQueue);
    void ExcecuteClientSendCommand(TcpSocket*, queue<Command *>& commandQueue);
    
private:
    static DeleteCommand cInstance;

};

#endif	/* DELETECOMMAND_H */

